from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

# 创建路由器
router = DefaultRouter()
router.register(r'errors', views.ErrorLogViewSet, basename='error-log')

urlpatterns = [
    path('', include(router.urls)),
]